package pl.edu.agh.mobicentsVoIP.database;

import pl.edu.agh.mobicentsVoIP.core.User;

public class SetAdminClass {
	
	public static void main(String[] args) {
		HSQLFacade facade = new HSQLFacade();
		System.out.println("Dodawanie praw admin userowi "+args[0]);
		User user = facade.getUser(args[0]);
		user.setIsAdmin();
		facade.registerUser(user);	
	}
}
